import {
	createRouter,
	createWebHashHistory
} from 'vue-router'

const routes = [
	{
		path: '/',
		component: () => import('@/views/home.vue')
	}, {
		path: '/musicItem',
		component: () => import('@/views/ItemMusic.vue')
	}, {
		path: '/search',
		component: () => import('@/views/Search.vue')
	}
]

const router = createRouter({
	history: createWebHashHistory(),
	routes
})

export default router
